package com.example.testfullcalendar.mapper;

import com.example.testfullcalendar.pojo.MyEvent;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IndexDao {

    void insertMyEvent(MyEvent event);

    List<MyEvent> selectAllEventByTime(String startTime, String endTime);

    void updateEventById(MyEvent myEvent);

    void deleteEventById(MyEvent myEvent);
}
